﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  <class name="Com.Phyfun.Business.Walkthrough, Com.Phyfun.Business" table="Walkthrough" lazy="false">
    <id name="Id" type="Int32" unsaved-value="null">
      <column name="Id" length="4" sql-type="int" not-null="true" unique="true" index="PK_Walkthrough"/>
      <generator class="native" />
    </id>
    <property name="WalkTitle" type="String">
      <column name="WalkTitle" length="200" sql-type="nvarchar" not-null="false"/>
    </property>
    <property name="WalkDesc" type="String">
      <column name="WalkDesc" sql-type="nvarchar" not-null="false"/>
    </property>
    <property name="FlvSrc" type="String">
      <column name="FlvSrc" length="200" sql-type="nvarchar" not-null="false"/>
    </property>
    <property name="YoutubeSrc" type="String">
      <column name="YoutubeSrc" length="200" sql-type="nvarchar" not-null="false"/>
    </property>
    <property name="Duration" type="Int32">
      <column name="Duration" length="4" sql-type="int" not-null="false"/>
    </property>
    <property name="FlagDeleted" type="Boolean">
      <column name="FlagDeleted" length="1" sql-type="bit" not-null="false"/>
    </property>
    <property name="LogDateTime" type="DateTime">
      <column name="LogDateTime" length="8" sql-type="datetime" not-null="false"/>
    </property>
    <many-to-one name="Game" class="Com.Phyfun.Business.Game, Com.Phyfun.Business">
      <column name="GameId" length="4" sql-type="int" not-null="true"/>
    </many-to-one>
  </class>
</hibernate-mapping>
